package com.test.demo.provider.service.impl;

import org.apache.dubbo.config.annotation.Service;
import org.apache.dubbo.rpc.service.GenericException;
import org.apache.dubbo.rpc.service.GenericService;


//@Service(version = "generic",interfaceName = "com.test.demo.provider.service.DemoService")
public class GenericDemoServiceImpl implements GenericService {

    @Override
    public Object $invoke(String s, String[] strings, Object[] objects) throws GenericException {
        System.out.println("执行了通用服务");
        return "方法名是"+s;
    }
}
